package com.sc.nft.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sc.nft.entity.MallBillFinancialAudit;
import com.sc.nft.entity.dto.MallBillFinancialAuditPageDTO;
import com.sc.nft.enums.MallBillFinancialAuditStatusEnum;
import org.apache.ibatis.annotations.Param;

import java.util.Date;

/**
 * <p>
 * 商城账单财务审核 Mapper 接口
 * </p>
 *
 * @author ligen
 * @since 2024-01-17
 */
public interface MallBillFinancialAuditMapper extends BaseMapper<MallBillFinancialAudit> {

    /**
     *
     * @param page
     * @param daoId
     * @param startTime
     * @param endTime
     * @param settlementNo
     * @param status
     * @return
     */
    Page<MallBillFinancialAuditPageDTO> getMallBillFinancialAuditPageDTO(Page page, @Param("daoId") Long daoId, @Param("startTime") Date startTime, @Param("endTime") Date endTime
            , @Param("settlementNo") String settlementNo, @Param("status") Integer status);

}
